\tracingonline=2
\tracingcommands=2
\tracingmacros=2
\tracingrestores=2

\count10=20
\showthe\count10

\count\count10=30
\showthe\count20
\showthe\count\count10

%hex
\count1="10
\showthe\count1

\count1="1aA
\showthe\count1

\count1="1Aa
\showthe\count1

\count1="Aa1
\showthe\count1

\count1="aA1
\showthe\count1

%oct
\count1='778
\showthe\count1

%char
\count1=`a
\showthe\count1

\count1=`\a
\showthe\count1

\count1=`\
\showthe\count1

\catcode`!=13

\count1=`!
\showthe\count1

\count1=`\zz
\showthe\count1

\endlinechar=-1
\count1=`\
\showthe\count1
\endlinechar=13

%signs
\count1=-11
\showthe\count1

\count1=--11
\showthe\count1

\count1=-\count1
\showthe\count1

%spaces
\count1  =  11
\showthe\count1

\count1 = - - -- \count1
\showthe\count1

%overflow
\count0=10
\count0=2147483647
\showthe\count0

\count0=10
\count0=2147483648
\showthe\count0

\count0=10
\count0=-2147483647
\showthe\count0

\count0=10
\count0=-2147483648
\showthe\count0

\count0=10
\count0=2147483648123
\showthe\count0

\count0=10
\count0=-2147483648123
\showthe\count0

\count0=555555555555555
\showthe\count0

%errors
\count0=0
\count555=10
\showthe\count0

\count0 = 0
\count555 = 10
\showthe \count 0

\count0=0
\count=10
\showthe\count0

\showthe\count\relax

\count0=10
\count-5=30
\showthe\count0

\count0=10
\count256=30
\showthe\count0

\end
